package com.longteng.lesson2.domain;

/**
 * Created by li
 * DATE : 2018/12/9 0009
 * TIME : 22:58
 * PROJECT : java-lesson
 * PACKAGE : com.longteng.lesson
 *
 * @author <a href="mailto:55324936@qq.com">li</a>
 */
public class Singleton {
    private Singleton(){}
    private static Singleton singleton=new Singleton();

    public synchronized static Singleton getIntance(){

        return singleton;
    }
}
